﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ZhiAo.Management;
using ECI.SSO.BizEntity;
using ZhiAo.WebLib.Data;

public partial class MsLine : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Session["currentSiteId"] = Request.QueryString["siteId"];
            DdlDataBind.BindType(drpType);
            LoadSiteName();
        }

    }

    private void LoadSiteName()
    {
        string siteName = "";
        string sql = " SELECT STNM FROM SQ_STBPRP_B WHERE YR_STCD = '" + base.GetSite + "'";
        DataTable dtSite = DBHelper.GetDataTable(sql);
        if (dtSite.Rows.Count > 0)
        {
            siteName = dtSite.Rows[0][0].ToString();
        }
        this.ltSiteName.Text = siteName;
    }
}
